package insight.google.game.era.bo.policy.character;

import insight.google.game.era.bo.GameRoom;
import insight.google.game.era.bo.GameUser;
import insight.google.game.era.bo.card.CharacterCard;
import insight.google.game.era.bo.card.GameCard;
import insight.google.game.era.client.proxy.PlayerClientProxy;
import insight.google.game.era.client.proxy.PlayerClientProxyImpl;
import insight.google.game.era.core.Util;
import insight.google.game.era.data.Card.SUITE;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class MaChaoPolicy extends CharacterPolicy {
	
	private PlayerClientProxy playerClientProxy;

	@Override
	public boolean withDiscardExec(GameUser original, GameUser[] targets,
			Map params) {
		// TODO Auto-generated method stub
		String jsComponenetId = (String)params.get("jsComponenetId");
		String[] cards = (String[])params.get("cardList");
		
		GameRoom currentRoom = Util.getRoom();
        //get next card and check card color, suite is heart or not.
//        List<GameCard> gameCards = currentRoom.getCardsByCardCount(1);
//        GameCard nextCard = gameCards.get(0);
//        if(SUITE.HEART.toString().equals(nextCard.getSuite())){
//        }
        
        
        return true;
	}

}
